/**
 * 
 */
package cn.biplam.front.page.mainpage;

import cn.biplam.common.wrapper.ErrorMessage;
import cn.biplam.common.wrapper.UserInfo;
import cn.biplam.front.html.base.HtmlWindow;
import cn.biplam.front.html.base.Const.Float_Type;
import cn.biplam.front.template.base.ButtonGroup;

/**
 * Banner的按钮组
 * @author 	WangSong
 * @create 	2009-4-9 下午02:24:37
 * @version 1.0
 */
public class BannerButtons {
	
	public static HtmlWindow get(UserInfo user,String sHomeUrl) throws ErrorMessage{
		HtmlWindow buttons=null;
		ButtonGroup bg =new ButtonGroup("banner_buttons",Float_Type.Right);
		bg.put(ExitButton.get(user, sHomeUrl));
//		bg.put(LogButton.get(user, sHomeUrl));
//		bg.put(PersonButton.get(user, sHomeUrl));
		bg.put(MessageButton.get(user, sHomeUrl));
		buttons=bg.get();
		return buttons;
	}
}
